3.1081 \(\int x^{-1+n (1+p)} (b+c x^n)^p (b+2 c x^n) \, dx\)

Optimal. Leaf size=27 \[ \frac {x^{n (p+1)} \left (b+c x^n\right )^{p+1}}{n (p+1)} \]

[Out]

x^(n*(1+p))*(b+c*x^n)^(1+p)/n/(1+p)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.037, Rules used = {449} \[ \frac {x^{n (p+1)} \left (b+c x^n\right )^{p+1}}{n (p+1)} \]

Antiderivative was successfully verified.

[In]

Int[x^(-1 + n*(1 + p))*(b + c*x^n)^p*(b + 2*c*x^n),x]

[Out]

(x^(n*(1 + p))*(b + c*x^n)^(1 + p))/(n*(1 + p))

Rule 449

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(c*(e*x)^(m
+ 1)*(a + b*x^n)^(p + 1))/(a*e*(m + 1)), x] /; FreeQ[{a, b, c, d, e, m, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[
a*d*(m + 1) - b*c*(m + n*(p + 1) + 1), 0] && NeQ[m, -1]

Rubi steps

\begin {align*} \int x^{-1+n (1+p)} \left (b+c x^n\right )^p \left (b+2 c x^n\right ) \, dx &=\frac {x^{n (1+p)} \left (b+c x^n\right )^{1+p}}{n (1+p)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.16, size = 101, normalized size = 3.74 \[ \frac {\left (b+c x^n\right )^p \left (\frac {c x^n}{b}+1\right )^{-p} \left (b (p+2) x^{n (p+1)} \, _2F_1\left (-p,p+1;p+2;-\frac {c x^n}{b}\right )+2 c (p+1) x^{n (p+2)} \, _2F_1\left (-p,p+2;p+3;-\frac {c x^n}{b}\right )\right )}{n (p+1) (p+2)} \]

Antiderivative was successfully verified.

[In]

Integrate[x^(-1 + n*(1 + p))*(b + c*x^n)^p*(b + 2*c*x^n),x]

[Out]

((b + c*x^n)^p*(b*(2 + p)*x^(n*(1 + p))*Hypergeometric2F1[-p, 1 + p, 2 + p, -((c*x^n)/b)] + 2*c*(1 + p)*x^(n*(
2 + p))*Hypergeometric2F1[-p, 2 + p, 3 + p, -((c*x^n)/b)]))/(n*(1 + p)*(2 + p)*(1 + (c*x^n)/b)^p)

________________________________________________________________________________________

fricas [A]  time = 0.74, size = 35, normalized size = 1.30 \[ \frac {{\left (c x x^{n} + b x\right )} {\left (c x^{n} + b\right )}^{p} x^{n p + n - 1}}{n p + n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+n*(1+p))*(b+c*x^n)^p*(b+2*c*x^n),x, algorithm="fricas")

[Out]

(c*x*x^n + b*x)*(c*x^n + b)^p*x^(n*p + n - 1)/(n*p + n)

________________________________________________________________________________________

giac [B]  time = 0.25, size = 66, normalized size = 2.44 \[ \frac {{\left (c x^{n} + b\right )}^{p} c x x^{n} e^{\left (n p \log \relax (x) + n \log \relax (x) - \log \relax (x)\right )} + {\left (c x^{n} + b\right )}^{p} b x e^{\left (n p \log \relax (x) + n \log \relax (x) - \log \relax (x)\right )}}{n p + n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+n*(1+p))*(b+c*x^n)^p*(b+2*c*x^n),x, algorithm="giac")

[Out]

((c*x^n + b)^p*c*x*x^n*e^(n*p*log(x) + n*log(x) - log(x)) + (c*x^n + b)^p*b*x*e^(n*p*log(x) + n*log(x) - log(x
)))/(n*p + n)

________________________________________________________________________________________

maple [F]  time = 0.69, size = 0, normalized size = 0.00 \[ \int \left (2 c \,x^{n}+b \right ) x^{\left (p +1\right ) n -1} \left (c \,x^{n}+b \right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-1+n*(p+1))*(c*x^n+b)^p*(b+2*c*x^n),x)

[Out]

int(x^(-1+n*(p+1))*(c*x^n+b)^p*(b+2*c*x^n),x)

________________________________________________________________________________________

maxima [A]  time = 0.96, size = 39, normalized size = 1.44 \[ \frac {{\left (c x^{2 \, n} + b x^{n}\right )} e^{\left (n p \log \relax (x) + p \log \left (c x^{n} + b\right )\right )}}{n {\left (p + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+n*(1+p))*(b+c*x^n)^p*(b+2*c*x^n),x, algorithm="maxima")

[Out]

(c*x^(2*n) + b*x^n)*e^(n*p*log(x) + p*log(c*x^n + b))/(n*(p + 1))

________________________________________________________________________________________

mupad [B]  time = 4.86, size = 54, normalized size = 2.00 \[ \left (\frac {b\,x\,x^{n\,\left (p+1\right )-1}}{n\,\left (p+1\right )}+\frac {c\,x\,x^n\,x^{n\,\left (p+1\right )-1}}{n\,\left (p+1\right )}\right )\,{\left (b+c\,x^n\right )}^p \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(n*(p + 1) - 1)*(b + c*x^n)^p*(b + 2*c*x^n),x)

[Out]

((b*x*x^(n*(p + 1) - 1))/(n*(p + 1)) + (c*x*x^n*x^(n*(p + 1) - 1))/(n*(p + 1)))*(b + c*x^n)^p

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-1+n*(1+p))*(b+c*x**n)**p*(b+2*c*x**n),x)

[Out]

Timed out

________________________________________________________________________________________